import controllerimport timedef main():    while True:        controller.init()        try:            dat = controller.get()            controller.ctrl(dat)            time.sleep(1)        except Exception as e:            print(e)